package com.zyl.demo.mapper;

import com.zyl.demo.beans.AdBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdBeanMapper {
    @Select("SELECT * FROM t_ad ORDER BY ad_id DESC LIMIT 0,1")
     AdBean getAdBean();
}
